const worker=new Worker("./worker.js")

//创建32位缓冲区
const arrayBuffer=new ArrayBuffer(32)
console.log('页面的缓存大小',arrayBuffer.byteLength);
worker.postMessage(arrayBuffer);
console.log('页面的缓存大小',arrayBuffer.byteLength);


